package MyStack;

/**
 * Description:
 * Date: 2025-11-10
 * Time: 14:46
 */
public class Test {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(12);
        myStack.push(23);
        myStack.push(34);
        myStack.push(45);
        myStack.display();
        System.out.println(myStack.size());

        int val = myStack.pop();
        myStack.display();
        System.out.println(val);
        System.out.println(myStack.peek());

    }
}
